project(OcrLite)

cmake_minimum_required(VERSION 3.10.2)

include_directories(include)
file(GLOB SERIAL_SRC src/*.cpp)
set(COMPILE_CODE ${SERIAL_SRC})

find_library(
        log-lib
        log)

find_library(
        android-lib
        android
)

add_library(SerialLibrary SHARED ${COMPILE_CODE})

target_link_libraries(
        SerialLibrary
        ${log-lib}
        ${android-lib})